package cn.liuweiwei.service;

import cn.liuweiwei.domain.Type;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface TypeService {

    PageInfo<Type> findAllTypeByPage(String pageNum, String pageSize);

    Type findBlogsByTypeId(String id);

    void insertOneType(Type type);

    void updateOneType(Type type);

    void deleteOneType(String id);

    List<Type> findAllType();
}
